package com.springboot.astra.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.springboot.astra.bean.UserRoles;

public interface UserRolesMapper {
    UserRoles getOneById(Integer id);
    IPage<UserRoles> getAll(Page<UserRoles> page,String query);
    void insertUserRoles(UserRoles userRoles);
    void updateOneById(UserRoles userRoles);
    void deleteOneById(Integer id);
    UserRoles isExact (UserRoles userRoles);
}
